<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>体现Vue数据双向绑定功能</title>
	</head>
	<script src="vue.js"></script>
	<body>
		<div id="zhf">{{msg}}
		<h1>{{address}}</h1>
		<h2>{{address}}</h2>
		<h3>{{address}}</h3>
		<h4>{{address}}</h4>
		<h5>{{address}}</h5>
		<h6>{{address}}</h6>
		<input type="text" v-model="address" name="address" id="address" />
		</div>
	</body>
	<script>
		var  p=new Vue({	
			el:"#zhf",//固定写死，el是element，挂载点，和页面id=app相对应
			data:{//vue管理数据，固定写死data
				msg:"hello",
				address:"我就是我"
			}
			});

	</script>
</html>
